package com.shakespace.artofandroid.temp;

import com.google.gson.annotations.SerializedName;

import java.io.IOException;
import java.util.Map;

public class Test {

    @SerializedName("name")
    public String name ;

    @SerializedName(value = "value",alternate = "nothing")
    public String value ;

    public Map<String,String> map;

    public void getBitmap() throws IOException{

    }

    private String bytesToHexString(byte[] bytes) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < bytes.length; i++) {
            String hex = Integer.toHexString(0xFF & bytes[i]);
            if (hex.length() == 1) {
                sb.append('0');
            }
            sb.append(hex);
        }
        return sb.toString();
    }
}

